const express = require("express");

const path = require("path");
let app  = express();

let static = express.static;
app.use(static('./static'))

app.get("/",(req,res)=>{
    // 加载页面
    res.sendFile(path.join(__dirname,"./views/index.html"));
})

app.listen(8889);